package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class Category {

    //value主键的值
    @TableId(value="catid",type = IdType.INPUT)
    private String categoryId;
    private String name;
    @TableField(value = "descn")
    private  String description;
}
